package com.pan.dao.freight;

import com.pan.entity.Freight;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface FreightSelectDao{
    Freight selectById(Long id);
    List<Freight> selectByCompany(String company);
    List<Freight> selectByCreateDate(Timestamp createDate);
    List<Freight> selectByStartDate(Timestamp startDate);
    List<Freight> selectByEndDate(Timestamp endDate);
    List<Freight> selectByFreightAmount(Double freightAmount);
    List<Freight> selectByStartDistrictId(Integer startDistrictId);
    List<Freight> selectByStartAddress(String startAddress);
    List<Freight> selectByEndDistrictId(Integer endDistrictId);
    List<Freight> selectByEndAddress(String endAddress);
    List<Freight> selectByFreightStatus(Integer freightStatus);
    List<Freight> selectByUserId(Long userId);
    List<Freight> selectByTel(Long tel);
}